home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Fatted Calf
/
The Fatted Calf.iso
/
Applications
/
Astronomy
/
Moon
/
Source
/
proto.h
< prev
next >
Wrap
C/C++ Source or Header
|
1993-01-19
|
828b
|
26 lines
/* proto.h
* Part of the Moon application for the NeXT computer.
* Author: Geoffrey S. Knauth
* Date: January 4, 1992
*
* Permission to copy this program is hereby granted under the terms
* of the Free Software Foundation's GNU General Public License.
*/
/* from astro.c */
double jdtophase(double pdate, double *pphase, double *mage, double *dist,
double *angdia, double *sudist, double *suangdia);
void phasehunt(double sdate, double phases[5]);
/* from julian.c */
double jtime(struct tm *t);
void jyear(double td, int *yy, int *mm, int *dd);
void jhms(double j, int *h, int *m, int *s);
double ymdhmsToJtime
(int year, int month, int day,
int hour, int minute, int second);
/* from shadow.c */
void DrawMoonShadow(float phase, NXPoint *center,
float xradius, float yradius, int shadowColor);